{#include file="admin_header.htm"#}
<div class="admin_main_nr_dbox">
  <table width="700" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><table width="150" border="0" cellspacing="2" cellpadding="0">
          <form action="" method="post" name="form3" id="form3">
            <tr>
              <td width="41">每頁：</td>
              <td width="20"><input name="perpage" type="text" id="perpage"  style="width:30px; height:15px; color:#666666; border:1px #97ADCE solid; text-align:center"  onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" value="{#$perpage#}" maxlength="3"onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/></td>
              <td width="81"><input  style="font-family:Arial; font-size:10px; height:22px;" type="submit" name="Submitok"  value="OK" /></td>
            </tr>
          </form>
      </table></td>
      <td width="61%"><table width="300"  border="0" align="right" cellpadding="0" cellspacing="2">
      </table></td>
    </tr>
  </table>
  <form id="form1" name="form1" method="post" action="?act=log_del">
  <table width="700" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
    <tr>
      <td width="100" height="26" align="center" bgcolor="#D0E2F7" style="padding-left:4px;">用戶名</td>
      <td width="200" align="center" bgcolor="#D0E2F7"> 登錄時間 </td>
      <td width="120" align="center" bgcolor="#D0E2F7" >登錄IP</td>
      <td align="center" bgcolor="#D0E2F7" >說明</td>
    </tr>
  </table>
    <table width="700" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="link_bk">
      {#section name=list loop=$list#}
      <tr class="row">
      <td width="100" height="32" align="center" style="border-bottom:1px #CCCCCC solid; padding-left:2px;">
	  {#$list[list].admin_name#}	  </td>
        <td width="200" align="center" style="border-bottom:1px #CCCCCC solid">
		{#$list[list].add_time|date_format:"%Y-%m-%d %H:%M:%S"#}		</td>
        <td width="130" align="center" style="border-bottom:1px #CCCCCC solid">
		{#$list[list].log_ip#}		</td>
        <td style="border-bottom:1px #CCCCCC solid">{#$list[list].log_value#} </td>
      </tr>
      {#sectionelse#}
  <tr>
    <td height="50" colspan="4" align="center">沒有任何記錄！</td>
  </tr>
      {#/section#}
    </table>
	<table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><span style="width:300px; height:40px; float:left; padding-top:10px">
          <input type="submit" name="delete" value="刪除早期日志" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" onclick="return confirm('繼續操作將刪除30天以前的登錄日志，你確定要刪除嗎？')"/>
          &nbsp;</span></td>
      </tr>
    </table>
  </form>
	    <table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" align="center" cellpadding="0" cellspacing="0" class="link_page">
          <tr>
            <td height="40" align="center" >{#$page#}</td>
          </tr>
        </table></td>
      </tr>
    </table>
</div>
{#include file="admin_footer.htm"#}
</body>
</html>
